<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('StudentActiveRecord/index')}">操作记录</a></li>
    </ul>
    <form class="well form-inline margin-top-20 row" method="post" action="{:url('StudentActiveRecord/index')}">


        <label for="" class="col-md-6 col-xs-12 form-group">
            操作时间:
            <input class="form-control" type="text" name="homework_starttime" style="" value="{:input('request.homework_starttime')}"
                   placeholder="年/月/日" id="homework_starttime">
            -
            <input class="form-control" type="text" name="homework_endtime" style="" value="{:input('request.homework_endtime')}"
                   placeholder="年/月/日" id="homework_endtime">
        </label>
        <label for="操作人" class="col-md-3 col-xs-6 form-group">
            操作人:

            <input class="form-control" type="text" name="user_login" style="" value="{:input('request.user_login')}"
                   placeholder="操作人">
        </label>
        <label for="搜索" class="col-md-3 col-xs-6 form-group">
            <input type="submit" class="btn btn-primary" value="搜索"/>
            <a class="btn btn-danger" href="{:url('StudentActiveRecord/index')}">清空</a>
        </label>
    </form>
    <form class="js-ajax-form" action="" method="post">
        <table class="table table-hover table-bordered table-list">
            <thead>                                               <tr>
                <th width="">编号</th>
                <th width="">用户</th>
                <th>学生的姓名</th>
                <th width="">操作详情</th>
                <th width="">IP地址</th>
                <th width="">操作时间</th>
            </tr>
            </thead>
            <foreach name="data" item="vo">
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.user_login}</td>
                    <td>{$vo.student_id}</td>
                    <td>{$vo.content}</td>
                    <td>{$vo.ip}</td>
                    <td>
                        {:date('Y-m-d H:i:s',$vo['create_time'])}
                    </td>
                </tr>
            </foreach>
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>

<script src="__STATIC__/js/admin.js"></script>
<script src="__STATIC__/js/layer/layer.js"></script>
<script type="text/javascript" src="__STATIC__/js/jquery-ui/jquery-ui-timepicker-addon.min.js"></script>
<script>
    $('#homework_starttime').datepicker();
    $('#homework_endtime').datepicker();
</script>
</body>
</html>


